home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / system / a_r10.zip / DEMO2.BAT < prev    next >
DOS Batch File  |  1994-10-12  |  984b  |  70 lines

  1. @echo off
  2. echo off
  3.  
  4. :: Batch File for ANSIB and RAT demo #2
  5. :: (using an ANSIB control file DEMO2.A-B)
  6.  
  7. rat reset
  8. rat 9,17
  9.  
  10. :bmenu
  11. ansib view demo.scn
  12. ansib @demo2.a-b
  13.  
  14.  
  15. :again
  16. rat wait
  17. if errorlevel 253 goto mouse
  18. if errorlevel  54 goto again
  19. if errorlevel  53 goto quit
  20. if errorlevel  52 goto opt4
  21. if errorlevel  51 goto opt3
  22. if errorlevel  50 goto opt2
  23. if errorlevel  49 goto opt1
  24. if errorlevel  28 goto again
  25. if errorlevel  27 goto quit 
  26. goto again
  27.  
  28. :mouse
  29.  
  30. rat 11,16,11,64
  31. if errorlevel 1 goto opt1
  32.  
  33. rat 13,16,13,64
  34. if errorlevel 1 goto opt2
  35.  
  36. rat 15,16,15,64
  37. if errorlevel 1 goto opt3
  38.  
  39. rat 17,16,17,64
  40. if errorlevel 1 goto opt4
  41.  
  42. rat 19,16,19,64
  43. if errorlevel 1 goto quit
  44.  
  45. goto again
  46.  
  47. :opt1
  48. ansib @demo2.a-b :pick1
  49. goto redo
  50.  
  51. :opt2
  52. ansib @demo2.a-b :pick2
  53. goto redo
  54.  
  55. :opt3
  56. ansib @demo2.a-b :pick3
  57. goto redo
  58.  
  59. :opt4
  60. ansib @demo2.a-b :pick4
  61.  
  62. :redo
  63. rat wait
  64. goto bmenu
  65.  
  66. :quit
  67. cls
  68. echo End of ANSIB and RAT Demo #2
  69.  
  70.